:root {
  --base-size: 16px;
  --bg-color: #ffffff;
  --bg-color-ligth-gray: #f8f8f8;
  --text-color: #333333;
  --monospace: "Lucida Console", "Source Code Pro", Consolas, Menlo, Monaco,  "Courier", monospace ;
  --sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --link-hover-color: #57a3f3;
  --link-color: #2484c1;
  --h1-font-size: 3em;
  --h2-font-size: 1.75em;
  --h3-font-size: 1.6rem;
  --h4-font-size: 1.4rem;
  --h5-font-size: 1.2rem;
  --h6-font-size: 1rem;
  --h1-color: #2674BA;
  --h2-color: #0099CC;
  --h3-color: #F77A0B;
  --th-bg-color: #2d8cf0;
  --th-color: white;
  --td-color: var(--text-color);
  --bg-color-code: #f8f8f8;
  --table-font-size: 1rem;
}

html {
  overflow-x: initial !important;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased
}

body {
  margin: 0;
  padding: 0;
  height: auto;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  font-size: 1rem;
  overflow-x: hidden;
  background: inherit;
  tab-size: 4
}

html {
  font-size: var(--base-size) !important
}

html, body {
  margin: auto;
  background: var(--bg-color-ligth-gray);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Vollkorn", Palatino, Times;
  color: var(--text-color);
  line-height: 1.4;
  text-align: justify;
}

iframe {
  margin: auto
}

a.url {
  word-break: break-all
}

a:active, a:hover {
  outline: 0px
}

html, body {
  margin: auto;
  background: #f5f5f5
}

#markdownPreviewer {
  font-family: "Vollkorn", Palatino, Times;
  color: #333;
  line-height: 1.4;
  text-align: justify
}

#markdownPreviewer > section {
  padding-bottom: 3em;
  line-height: 1.53
}

#markdownPreviewer figure {
  overflow-x: auto;
  margin: 1.2em 0;
  max-width: calc(100% + 16px);
  padding: 0px
}

#markdownPreviewer em {
  font-style: italic !important;
}

#markdownPreviewer a img, #markdownPreviewer img a {
  cursor: pointer
}

#markdownPreviewer code, #markdownPreviewer pre, #markdownPreviewer samp, #markdownPreviewer tt {
  font-family: var(--monospace)
}

#markdownPreviewer iframe {
  max-width: 100%;
  width: 100%;
  border: none
}

#markdownPreviewer .highlight td, #markdownPreviewer .highlight tr {
  border: 0px
}

#markdownPreviewer img, img {
  max-width: 100%;
  vertical-align: middle;
  image-orientation: from-image
}

#markdownPreviewer input[type="checkbox"], #markdownPreviewer input[type="radio"] {
  line-height: normal;
  padding: 0px
}

#markdownPreviewer *, #markdownPreviewer ::after, #markdownPreviewer ::before {
  box-sizing: border-box
}

#markdownPreviewer hr {
  color: #ddd;
  height: 1px;
  margin: 2em 0;
  border-top: solid 1px #ddd;
  border-bottom: none;
  border-left: 0;
  border-right: 0
}

.markdown__fences {
  font-size: .85rem;
  display: block;
  page-break-inside: avoid;
  break-inside: avoid;
  text-align: left;
  overflow: visible;
  white-space: pre;
  background: inherit;
  position: relative !important;
  padding: 0;
  margin: 0 0 1.5em 0
}

.markdown__fences .hljs {
  color: var(--text-color);
  padding-bottom: 8px;
  padding-top: 6px;
  font-size: var(--monospace);
  /*font-family: "Source Code Pro", Consolas, Menlo, Monaco, Courier, monospace;*/
}

.markdown__alert {
  position: relative;
  padding: 16px 48px 16px 16px;
  border-radius: 2px;
  color: rgba(0,0,0,.65);
  font-size: 14px;
  line-height: 16px;
  margin: 10px 0 ;
}

.markdown__alert--success {
  border: 1px solid #b7eb8f;
  background-color: #f6ffed;
}

.markdown__alert--info {
  border: 1px solid #91d5ff;
  background-color: #e6f7ff;
}

.markdown__alert--warning {
  border: 1px solid #ffe58f;
  background-color: #fffbe6;
}

.markdown__alert--error {
  border: 1px solid #ffa39e;
  background-color: #fff1f0;
}


.markdown__alert .markdown__paragraph {
  margin-top: 0 !important;
  margin-bottom: 0 !important
}

.markdown__alert-message {
  font-size: 16px;
  color: #17233d;
  display: block;
  margin-bottom: 4px;
}

.markdown__alert-desc {
  font-size: 14px;
  color: rgba(0,0,0,.65);
  line-height: 21px;
  text-align: justify;
}



.markdown__paragraph {
  line-height: inherit;
  /*margin-top: 1rem;
  margin-bottom: 1rem;
  orphans: 4*/

  margin-top: 0;
  margin-bottom: .85em;
  orphans: 3;
  widows: 3;
}

.markdown__heading--h1, .markdown__heading--h2, .markdown__heading--h3, .markdown__heading--h4, .markdown__heading--h5, .markdown__heading--h6 {
  break-after: avoid-page;
  break-inside: avoid;
  orphans: 4;
/*  margin-top: 1rem;
  margin-bottom: 1rem*/

  margin-top: 1.275em;
  margin-bottom: .85em;
  font-weight: 700;
}

.markdown__heading--h1 {
  font-size: 2rem
}

.markdown__heading--h1 a, .markdown__heading--h1 a:hover {
  color: var(--text-color);
  text-decoration: none
}
.markdown__heading--h1 {
  font-size: var(--h1-font-size);
  color: var(--h1-color);
}

.markdown__heading--h2 {
  /*margin-top: 2em;*/
  /*font-weight: normal;*/
}

.markdown__heading--h2 {
  font-size: var(--h2-font-size);
  color: var(--h2-color)
}

.markdown__heading--h3 {
  font-size: var(--h3-font-size);
  color: var(--h3-color)
}
.markdown__heading--h3 {
  /*font-weight: normal;
  font-style: italic;
  margin-top: 3em*/
}

.markdown__heading--h4 {
  font-size: var(--h4-font-size)
}

.markdown__heading--h5 {
  font-size: var(--h5-font-size)
}

.markdown__heading--h6 {
  font-size: var(--h6-font-size)
}



.markdown__heading--h1 {
/*  margin-top: 1.6em;
  font-weight: normal*/
  margin-top: 1.275em;
  margin-bottom: .85em;
  font-weight: 700;
}


.markdown__heading--h1, .markdown__heading--h2, .markdown__heading--h3 {
  /*text-align: center*/
}

/*.markdown__heading--h2:after {
  border-bottom: 1px solid #2f2f2f;
  content: '';
  width: 100px;
  display: block;
  margin: 0 auto;
  height: 1px
}*/

.markdown__heading--h1 + .markdown__heading--h2, .markdown__heading--h2 + .markdown__heading--h3 {
  margin-top: .83em
}

.markdown__figure {
  margin: 0;
}

.markdown__table {
  margin-bottom: 1.333333rem;
  border-collapse: collapse;
  border-spacing: 0px;
  width: 100%;
  overflow: auto;
  break-inside: auto;
  text-align: left;
  font-family: var(--sans-serif);
  font-size: var(--table-font-size);
}

.markdown__table th, .markdown__table td {
  padding: 8px;
  line-height: 1.333333rem;
  /*vertical-align: top;*/
  border: 1px solid #ddd
}

.markdown__table tr {
  break-inside: avoid;
  break-after: auto
}

.markdown__table thead {
  display: table-header-group
}

.markdown__table thead th {
  vertical-align: bottom
}

.markdown__table td {
  color: var(--td-color);
}

.markdown__table th {
  font-weight: 700;
  background-color: var(--th-bg-color);
  color: var(--th-color);
}

.markdown__table tbody + tbody {
  border-top: 2px solid #ddd
}

.markdown__table caption + thead tr:first-child th, .markdown__table caption + thead tr:first-child td, .markdown__table colgroup + thead tr:first-child th, .markdown__table colgroup + thead tr:first-child td, .markdown__table thead:first-child tr:first-child th, .markdown__table thead:first-child tr:first-child td {
  /*border-top: 0*/
}

.markdown__list {
  padding-left: 1.2em
}

.markdown__list-item {
  margin: 0px;
  position: relative;
  white-space: pre-wrap;
  list-style: inherit !important;
}

.markdown__list-item div {
  padding-top: 0px
}

.markdown__list-item p {
/*  margin-top: 0 !important;
  margin-bottom: 0 !important*/
  margin: .5rem 0 !important;
}

.markdown__list-bullet {
  list-style: square
}

.markdown__list-task-item {
  list-style-type: none
}

.markdown__list-task-item > .markdown__paragraph > input {
  margin-left: -1.3em;
  margin-top: calc(1rem - 12px);
  position: absolute;
  top: 0px;
  left: 0px;
  border: none;
  cursor: pointer
}

.markdown__list-task-item > .markdown__paragraph > input + label {
  cursor: pointer
}

.markdown__list-task-item > .markdown__paragraph > input:checked:before {
  color: inherit
}

.markdown__list-task-item > .markdown__paragraph > input:before {
  content: '\221A';
  display: inline-block;
  width: 1.33333333rem;
  height: 1.6rem;
  vertical-align: middle;
  text-align: center;
  color: #ddd;
  background-color: #fefefe
}

.markdown__toc-content {
  position: relative;
  margin-left: 0px;
  min-height: 3.58rem;
  font-size: .9rem;
  border-radius: 10px
}

.markdown__toc-content ul, .markdown__toc-content ol {
  list-style: none;
  padding-left: 2em
}

.markdown__toc-content ul li, .markdown__toc-content ol li {
  margin: 0;
  position: relative;
  display: block;
}

.markdown__toc-content ul li div, .markdown__toc-content ol li div {
  padding-top: 0px
}

.markdown__toc-content ul li p, .markdown__toc-content ol li p {
  margin-top: 0 !important;
  margin-bottom: 0 !important
}

.md-toc-item {
  display: block;
  color: var(--link-color);
}

.md-toc-inner {
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: var(--link-color) !important;
}

.markdown__link {
  color: var(--link-color) !important;
  text-decoration: none;
  cursor: pointer
}

.markdown__link:hover {
  text-decoration: underline
}

.markdown__link img {
  border: none
}

.markdown__blockquote {
  /*margin-left: 1em;
  padding-left: 1em;
  border-left: 1px solid #ddd*/
  margin: 0;
  margin-bottom: .85em;
  padding: 0 15px;
  color: #858585;
  border-left: 4px solid #e5e5e5;
}

.markdown__blockquote > :last-child {
  margin-bottom: 0
}

.markdown__blockquote > :first-child, .markdown__blockquote li > :first-child {
  margin-top: 0
}

.markdown code, .markdown pre {
  font-family: "Consolas", "Menlo", "Monaco", monospace, serif;
  font-size: .9rem;
  background: white
}

.markdown a {
  color: var(--link-color)
}

.markdown a:hover {
  color: var(--link-hover-color)
}

.markdown__diagram-panel {
  width: 100%;
  margin-top: 10px;
  text-align: center;
  padding-top: 0px;
  padding-bottom: 8px;
  overflow-x: auto
}

.markdown__diagram-panel svg {
  max-width: 100%
}


/* code line wrapper */
#code-textarea {
  height: 0;
  position: fixed;
  top: -1000px;
  width: 0;
}

.code-wrapper {
  position: relative;
  line-height: 1.7;
}

.code-wrapper i {
  color: #c1c7cd;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  right: 1em;
  top: 1em;
}

.code-wrapper pre code {
  display: inline;
  max-width: initial;
  padding: 0;
  margin: 0;
  overflow: initial;
  line-height: inherit;
  font-size: .85em;
  white-space: pre;
  background: 0 0;
}

.code-wrapper pre {
  background: var(--bg-color-code);
  border-radius: 3px;
  counter-reset: line;
  font-size: 0.85em;
  white-space: pre !important;
  overflow: auto;
  word-wrap: normal;
  margin: 0 0 1.275rem 0;
  padding: .85em 0;
  /*margin-bottom: 1.275em;*/
}

.code-wrapper pre > code > span.code-line:before {
  counter-increment: line;
  content: counter(line);
  display: inline-block;
  font-size: 12px;
  margin-right: 0.85rem;
  color: #999;
  border-right: 1px solid #ddd;
  width: 28px;
  text-align: center;
}
